﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Masterpage/CommonPage.master" AutoEventWireup="true" CodeFile="LevelManagement.aspx.cs" Inherits="Vip_LevelManagement" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="pagenav"><b>您现在的位置：</b>我的管理平台 > <a href="LevelManagement.aspx">VIP等级管理</a></div>
<div style="overflow:auto;">
    <!--paneltitle-->
    <div class="paneltitle">VIP等级列表</div>
    <!--paneladd-->
    <div class="paneladd"><img src="<%=ResolveThemeImagePath("icon_add.gif")%>" width="15" height="15" border="0" alt="" align="absmiddle" />&nbsp;<a href="AddLevel.aspx">添加等级</a></div>
</div>

<div class="DG" id="dv_Result" runat="server" visible="true">
    <table cellspacing="0">
        <thead>
            <tr>
                <th style="width:7%;">序号</th>
                <th style="width:40%;">等级名称</th>
                <th style="width:22%;">达标积分</th>
                <th style="width:24%;">操作</th>
            </tr>
        </thead>
        <tbody>
            <asp:Repeater runat="server" ID="rpt_Levels" OnItemCommand="rpt_Levels_ItemCommand">
                <ItemTemplate>
                    <tr>
                        <td><%# Container.ItemIndex + 1%></td>
                        <td><%# Eval("Title")%></td>
                        <td><%# Eval("Score").ToString()%></td>
                        <td>
                            <input type="button" class="editButton" onclick="javascript:location.href='EditLevel.aspx?id=<%#Eval("LevelID")%>'" />                
                            <asp:Button ID="btn_Delete" runat="server" ToolTip="删除该等级" CausesValidation="true" CommandName="delete" OnClientClick="return confirm('确定要删除吗？')" CommandArgument='<%#Eval("LevelID") %>' CssClass="deleteButton" />
                        </td>
                    </tr>
                </ItemTemplate>        
            </asp:Repeater>
        </tbody>
    </table>
</div>
</asp:Content>

